package com.china08.yxyapi.entity.db.res;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.china08.yxyapi.entity.BaseEntityIntegerId;

/**
 * 科目
 * 
 * @author liuhuifang
 *
 */

@Entity
@Table(name = "subjects", catalog = "yx_foundation")
public class YxySubject extends BaseEntityIntegerId {

    private static final long serialVersionUID = 1L;

    /** 科目Id(查询使用字段) */
    @Column(name = "subject", nullable = false)
    private String subject;

    /** 学段 */
    @Column(name = "stage", nullable = false)
    private String stage;

    /** 科目名称 */
    @Column(name = "name", nullable = false)
    private String name;

    /** 使用标志 */
    @Column(name = "use_flag", nullable = false)
    private String useFlag;

    @Column(name = "order_num")
    private Integer orderNum;

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getStage() {
        return stage;
    }

    public void setStage(String stage) {
        this.stage = stage;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUseFlag() {
        return useFlag;
    }

    public void setUseFlag(String useFlag) {
        this.useFlag = useFlag;
    }

}
